package com.job;

import java.io.Serializable;
import java.net.InetAddress;
import java.net.UnknownHostException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.service.ITestService;

@Service
public class TestJob implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Autowired
	private ITestService testService;

	public void subMainProc() throws UnknownHostException, InterruptedException {
		testService.save();
	}
}
